package com.xiaoze.steampy.serviceImpl;

import com.xiaoze.steampy.common.dto.MessList;
import com.xiaoze.steampy.entity.UserGame;
import com.xiaoze.steampy.mapper.UserGameMapper;
import com.xiaoze.steampy.service.UserGameService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 小泽
 * @since 2022-04-01
 */
@Service
public class UserGameServiceImpl extends ServiceImpl<UserGameMapper, UserGame> implements UserGameService {

    @Autowired
    UserGameMapper userGameMapper;

    @Override
    public List<MessList> getAllmess(Integer id) {
        return  userGameMapper.getAllmess(id);
    }
}
